package com.bsoft.template.web.process;

import com.bsoft.template.common.Result;
import com.bsoft.template.entity.process.Approvalinfo;
import com.bsoft.template.service.process.ApprovalinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("approvalinfo")
public class ApprovalinfoController {

    @Autowired
    private ApprovalinfoService approvalinfoService;

    @PostMapping("updateAudit")
    public Result updateAudit(@RequestBody Approvalinfo approvalinfo) {
        return approvalinfoService.updateAudit(approvalinfo);
    }

}
